Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

224
Views
Amplify React build fail with "Module not found: Error: Can't resolve './components/...' in '/codebuild/output/src313005886/src/client-portal/src' "

for some time, I have been wrapping my head around an error preventing me from deploying my react app to AWS Amplify. The compiler seems not to be able to resolve a component during the build phase. I keep getting the following error Module not found: Error: Can't resolve './components/...' in '/codebuild/output/src313005886/src/client-portal/src; please see the attached error output bellow.

enter image description here

Here is the file structure:

enter image description here

Here is how the file is imported:

import AdminCreateEvaluation from "./components/evaluationgeneratorform";

I have tried several solutions, including renaming my files, but the build won't just compile; Any help will be appreciated.

Thank you.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

I got the similar error. After commented Amplify/* directories from .gitignore file, committed & push the changes then backend-build done successfully.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!